
#ifndef __google_auth_h__
#define __google_auth_h__

#include <wininet.h>


class GoogleAuth
{
public:
	GoogleAuth();
	GoogleAuth(CStringA const& strService);
	~GoogleAuth();


	BOOL Login( CStringA const&, CStringA const& );
	void SetService(CStringA const& strService);
private:
	HINTERNET	m_hInternet;
	HINTERNET	m_hSession;

	CStringA	m_strService;
	CStringA	m_strToken;
};

#endif